package com.jeomo.mem.provider.web;

import com.jeomo.common.log.annotation.LogRecord;
import com.jeomo.common.log.service.ILogService;
import com.jeomo.mem.starter.sysoption.PointsValiditySysOption;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@RestController
@RequestMapping("log")
public class LogTestController {

    @Autowired
    private ILogService logService;

    @Resource
    private PointsValiditySysOption pointsValiditySysOption;

    @LogRecord(module = "log",type = "test")
    @RequestMapping("test")
    public String test(){
        return "test";
    }

}
